Page({
  onShareAppMessage() {
    return {
      title: 'swiper',
      path: 'page/component/pages/swiper/swiper'
    }
  },
  data: {
    background: ['/img/j20/1001.jpg', '/img/j20/1004.jpg', '/img/j20/1006.jpg'],
    indicatorDots: false,
    vertical: false,
    autoplay: true,
    interval: 1000,
    duration: 500, 
    current: 0
  },
  currenthandle(e){
    this.setData({
      current: e.detail.current
    })
  }
})
